<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<div xmlns="http://www.w3.org/1999/xhtml"
     xmlns:f="http://java.sun.com/jsf/core"
     xmlns:h="http://java.sun.com/jsf/html"
     xmlns:p="http://primefaces.org/ui"
     xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:form>Menu de Aplicacion
        <br />
        <p:commandLink id="index" action="/faces/site/index.xhtml" ajax="false" >
            <h:outputText value="Inicio" />
        </p:commandLink>
        <br />
        <!--
        <p:commandLink id="activateNewUser" action="{sessionControllerBean.navigationURL('activateNewUser')}" ajax="false">
            <h:outputText value="Activar Usuario" />
        </p:commandLink>
        <br />
        -->
        <p:commandLink id="changePassword" action="#{sessionControllerBean.navigationURL('changePassword')}" ajax="false"  rendered="#{userLoginBean.authenticated}" >
            <h:outputText value="Cambio Clave" />
        </p:commandLink>
        <br />
        <p:commandLink id="newChipRegister" action="#{sessionControllerBean.navigationURL('validatePIN')}" ajax="false" rendered="#{userLoginBean.authenticated}" >
            <h:outputText value="Registrar Nuevo CHIP" />
        </p:commandLink>
        <br />
        <p:commandLink id="inquireChipsRegistred" action="#{sessionControllerBean.navigationURL('inquireChipsRegistred')}" ajax="false" rendered="#{userLoginBean.authenticated}" >
            <h:outputText value="Consultar CHIP registrados" />
        </p:commandLink>
        <br/>        
        <h:link onclick="javascript:window.open('http://www.e-collect.com/customers/PagosIDU.htm');" id="onlinePayments" >Pagos en Linea</h:link>
    </h:form>
</div>